<nz-card  nzTitle="焙炒豆检测情况记录表" [nzExtra]="extraTemplate">

  <nz-table #basicTable [nzData]="tl"  [nzScroll]="{  y: '520px' }">
    <thead>
    <tr>
      <th>生产批次</th>
      <th>取样日期时间</th>
      <th>色值</th>
      <th>水分(%)</th>
      <th>检测人</th>
      <th>处理情况</th>

      <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of  basicTable.data">
      <td>{{data.scpc}}</td>
      <td>{{data.qysj }}</td>

      <td>{{data.sz}}</td>
      <td>{{data.sf}}%</td>
      <td>{{data.jcr}}</td>
      <td>{{data.clqk}}</td>




      <td>
        <a nz-button nzType="primary" (click)="record(data.baketestid)">记录 </a>

      </td>
    </tr>
    </tbody>
  </nz-table>


</nz-card>
<ng-template #extraTemplate>
  <nz-radio-group  nzButtonStyle="solid">
    <label nz-radio-button nzValue="A" (click)="getBaketestsByClqk('YCL')">已处理</label>
    <label nz-radio-button nzValue="B" (click)="getBaketestsByClqk('WCL')">待处理</label>

  </nz-radio-group>
</ng-template>
